import csv
import re


def csv_reader(path):
    list1 = []
    r = csv.reader(open(path, encoding='utf-8'))
    for i in r:
       list1.append(i)
    return list1

def get_str_by_re(left = '\\A',right='\\Z',string = ''):
    result = re.search(f'{left}(.*?){right}',string)
    return result.group(1)

